package com.gitee.elf.module.kether

import org.bukkit.Color
import taboolib.module.kether.KetherParser
import taboolib.module.kether.combinationParser

object ActionColor {


    @KetherParser(["build-color"])
    fun parserColor() = combinationParser {
        it.group(int(), int(), int()).apply(it) { red, green, blue ->
            now { Color.fromRGB(red, green, blue) }
        }
    }


}